package com.cims.action.usergroup;

import java.util.ArrayList;
import java.util.List;

import com.cims.action.BaseAction;
import com.cims.bo.usergroup.UserGroupBO;
import com.cims.bo.usergroup.UserGroupBOImpl;

public class UserGroupAction extends BaseAction{
	private UserGroupBO useg = new UserGroupBOImpl();
	private List<Usergroup> listUseg = new ArrayList<>();
	
	public String list() {
		try {
			listUseg = useg.getListUseg();
		} catch (Exception e) {
			// TODO: handle exception
		}
		return SUCCESS;
	}

	public UserGroupBO getUseg() {
		return useg;
	}

	public void setUseg(UserGroupBO useg) {
		this.useg = useg;
	}

	public List<Usergroup> getListUseg() {
		return listUseg;
	}

	public void setListUseg(List<Usergroup> listUseg) {
		this.listUseg = listUseg;
	}
}
